﻿<Window x:Class="GA_SCHED_DESIGNER.ProfessorsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ProfessorsWindow" Height="300" Width="300" Initialized="Window_Initialized">
    <Grid>
        <DataGrid AutoGenerateColumns="False" Margin="0,24,0,25" Name="dataGrid1" CanUserAddRows="False" CanUserReorderColumns="False">
            <DataGrid.Columns>
                <DataGridTextColumn IsReadOnly="True" Header="ФИО" Binding="{Binding Name}" >
                    
                </DataGridTextColumn>
                <DataGridTemplateColumn>
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <Button Content="Изменить" Tag="{Binding Prof_ID}" Click="Button_Click">
                                
                            </Button>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                </DataGridTemplateColumn>
            </DataGrid.Columns>
        </DataGrid>
        <Button Click="btnAddNew_Click" Content="Добавить" Height="23" Name="btnAddNew" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="99" />
    </Grid>
</Window>
